#include "MySqlExprImpl.h"
#include "../../../../ast/SQLCommentHint.h"
#include "../../../../ast/SQLExpr.h"
#include "../../../../../Exception/UnsupportedOperationException.h"

SQLObject_ptr MySqlExprImpl::clone()
{
  // throw new UnsupportedOperationException();
  
    SQLObject_ptr clone_tmp = std::shared_ptr<MySqlExprImpl>(new MySqlExprImpl());
    std::shared_ptr<MySqlExprImpl> clone_res = std::dynamic_pointer_cast<MySqlExprImpl>(clone_tmp);

    return clone_res;
}

SQLCommentHint *MySqlExprImpl::getHint()
{
  return hint;
}

void MySqlExprImpl::setHint(SQLCommentHint *hint)
{
  this->hint = hint;
}
